package com.boang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.boang.entity.PO.Reservation;

import java.util.List;

/**
 * @author 22567
 * @description 针对表【reservation】的数据库操作Service
 * @createDate 2025-03-10 15:47:56
 */
public interface ReservationService extends IService<Reservation> {
    public Reservation createReservation(Reservation reservation);

    public void cancelReservation(Long reservationId);

    public List<Reservation> getAllReservations();

    public List<Reservation> getReservationsByUserId(String userId);

    public List<Reservation> getReservationsByVenueId(Long venueId);
}
